<html><head><title>Runtime.pb</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<pre><font face="Courier New, Courier, mono"size="2"><font color="#3A3966">;
</font><font color="#3A3966">; ------------------------------------------------------------
</font><font color="#3A3966">;
</font><font color="#3A3966">;   PureBasic - Runtime example file
</font><font color="#3A3966">;
</font><font color="#3A3966">;    (c) Fantaisie Software
</font><font color="#3A3966">;
</font><font color="#3A3966">; ------------------------------------------------------------
</font><font color="#3A3966">;
</font>
<font color="#3A3966">; Note: this example doesn't make much sens as a standalone file
</font><font color="#3A3966">; as the runtime concept is to allow to access any procedure,
</font><font color="#3A3966">; variable etc once the program is compiled (for exemple from
</font><font color="#3A3966">; an xml file, like in the Dialog library)
</font>

<b><font color="#3A3966">Runtime</font></b> <b><font color="#3A3966">Procedure</font></b> <font color="#3A3966">RuntimeProcedure</font>() 
  <b><font color="#3A3966">Debug</font></b> &quot;Runtime procedure&quot;
<b><font color="#3A3966">EndProcedure</font></b>


<b><font color="#3A3966">Debug</font></b> &quot;RuntimeProcedure() address: &quot; +<font color="#3A3966"> GetRuntimeInteger</font>(&quot;RuntimeProcedure()&quot;)


RuntimeVariable.i = 128
<b><font color="#3A3966">Runtime</font></b> RuntimeVariable
<b><font color="#3A3966">Debug</font></b> &quot;RuntimeVariable: &quot; +<font color="#3A3966"> GetRuntimeInteger</font>(&quot;RuntimeVariable&quot;)
<font color="#3A3966">SetRuntimeInteger</font>(&quot;RuntimeVariable&quot;, 256)

<font color="#3A3966">; The internal variable value has been changed
</font><font color="#3A3966">;
</font><b><font color="#3A3966">Debug</font></b> &quot;RuntimeVariable: &quot; + RuntimeVariable
</font></pre>
</body></html>
